﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;

using NUnit.Framework;

using ERPStore.Web.Routing; 

namespace ERPStore.Tests
{
	[TestFixture]
	public class RoutesTests : TestBase
	{
		[SetUp]
		public void Setup()
		{
		}

		[Test]
		public void DefaultRoute()
		{
			var helper = GetUrlHelper("/", System.Web.Routing.RouteTable.Routes);

			var url = helper.RouteERPStoreUrl(ERPStore.Web.Routing.ERPStoreRoutes.HOME);

			Assert.AreEqual(url, "/accueil");
		}


	}
}
